package com.yang.jxj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author yang
 * @since 2024-06-23
 */
@ApiModel(value = "Rules对象", description = "")
public class Rules implements Serializable {



    @TableId(value = "rule_id", type = IdType.AUTO)
    private Integer ruleId;

    private Integer year;

    private String grade;

    private  String description;

    private String criteria;

    public Integer getRuleId() {
        return ruleId;
    }

    public void setRuleId(Integer ruleId) {
        this.ruleId = ruleId;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public String getCriteria() {
        return criteria;
    }

    public void setCriteria(String criteria) {
        this.criteria = criteria;
    }

    @Override
    public String toString() {
        return "Rules{" +
            "ruleId = " + ruleId +
            ", year = " + year +
            ", criteria = " + criteria +
        "}";
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
